@REM build and upx...

SET isUpx=1

go clean
go env -w CGO_ENABLED=1
SET GOOS=windows
SET GOARCH=amd64

@REM go build -v -ldflags="-w -s" -o asl-ife-server.exe .
go build -v -ldflags="-w -s" -o asl-ife-server.exe .

if %isUpx%==1 (.\deployments\upx.exe --lzma asl-ife-server.exe)
